@import '~antd/dist/antd.css';
@import '~react-grid-layout/css/styles.css';
@import '~react-resizable/css/styles.css';
@import './app';
@import './platform';

// 自定义 antd select 样式
.ant-select-dropdown-menu,
.ant-dropdown-menu  {
  background: #05254b;
  border: 1px solid #02439d;
}
.ant-select-dropdown-menu-item {
  color: #fff;
  font-weight: 600;
}
.ant-dropdown-menu-item:hover,
.ant-dropdown-menu-item:hover a {
  background-color: rgba(0,0,0,0.2) !important;
  color: #0393FF;
  font-weight: bolder;
}

.ant-select-dropdown-menu-item-active:not(.ant-select-dropdown-menu-item-disabled) {
  background-color: rgba(0,0,0,0.2) !important;
  color: #0393FF;
}
.ant-select-dropdown-menu-item:hover {
  color: #0393FF;
  background-color: rgba(0,0,0,0.4) !important;
}
.ant-select-dropdown-menu-item-selected {
  background-color: rgba(0,0,0,0.4) !important;
}
.ant-dropdown-menu-item {
  color: #fff;
  font-weight: bolder;
}
.ant-dropdown-menu-item > a, .ant-dropdown-menu-submenu-title > a {
  color: #fff;
  font-weight: bolder;
}
.ant-dropdown-menu-item, .ant-dropdown-menu-submenu-title {
  padding: 5px 15px;
  text-align: center;
  font-size: 12px;
}
// 单选框禁选文字样式
.ant-radio-disabled + span {
  color: #0393FF;
}
// ----------------------------------------------------

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  height: 100%;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

*::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
*::-webkit-scrollbar-track,
*::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 0px solid transparent;
}
*::-webkit-scrollbar-track {
  background-color: #052f60;
}
*::-webkit-scrollbar-thumb {
  min-height: 20px;
  background-clip: content-box;
  background-color: #135290;
}
*::-webkit-scrollbar-corner {
  background: transparent;
}
ul {
  display: block;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
